package com.dh.enum01;

public class SwitchDemo01 {

    public static void main(String[] args) {
        Week one = Week.ONE;
        switch (one) {
            case ONE:
                System.out.println("上数学");
                break;
            case TWO:
                System.out.println("上英语");
                break;
            case THREE:
                System.out.println("上计算机");
                break;
        }
    }
}
